package com.example.mapper;

import com.example.entity.Customer;

import java.util.List;

public interface CustomerMapper {

    void insert(Customer customer);

    void deleteById(Integer id);

    void deleteByUserId(Integer id);

    void updateById(Customer customer);

    List<Customer> selectAll();

    Customer selectById(Integer id);

    Customer selectByUserId(Integer id);
}
